export default {
  common: {
    login: '登录',
    register: '注册',
    logout: '退出',
    home: '首页',
    exchange: '兑换',
    merchant: '商户',
    admin: '管理员',
    save: '保存',
    cancel: '取消',
    delete: '删除',
    edit: '编辑',
    add: '添加',
    close: '关闭',
    confirm: '确认',
    search: '搜索',
    reset: '重置',
    loading: '加载中...',
    noData: '暂无数据',
    submit: '提交',
    back: '返回',
    actions: '操作',
    status: '状态',
    active: '激活',
    inactive: '未激活',
    enable: '启用',
    disable: '禁用',
    enabled: '已启用',
    disabled: '已禁用',
    success: '成功',
    error: '错误',
    warning: '警告',
    info: '信息',
    name: '名称',
    description: '描述',
    price: '价格',
    quantity: '数量',
    date: '日期',
    time: '时间',
    total: '总计',
    subtotal: '小计',
    tax: '税费',
    discount: '折扣',
    shipping: '运费',
    payment: '支付',
    customer: '客户',
    address: '地址',
    phone: '电话',
    email: '邮箱',
    password: '密码',
    confirmPassword: '确认密码',
    rememberMe: '记住我',
    forgotPassword: '忘记密码？',
    resetPassword: '重置密码',
    changePassword: '修改密码',
    currentPassword: '当前密码',
    newPassword: '新密码',
    username: '用户名',
    businessName: '企业名称',
    userType: '用户类型',
    createdAt: '创建时间',
    updatedAt: '更新时间',
    yes: '是',
    no: '否',
    platformName: '兑换平台',
    language: {
      english: 'English',
      chinese: '中文'
    }
  },
  login: {
    title: '兑换平台登录',
    username: '用户名',
    password: '密码',
    enterUsername: '请输入用户名',
    enterPassword: '请输入密码',
    loginButton: '登录',
    noAccount: '还没有账户？',
    registerHere: '点击注册',
    loginSuccess: '登录成功！',
    loginFailed: '登录失败',
    invalidCredentials: '用户名或密码错误',
    errorOccurred: '登录时发生错误',
    passwordMinLength: '密码至少需要6个字符'
  },
  register: {
    title: '注册新账户',
    username: '用户名',
    password: '密码',
    confirmPassword: '确认密码',
    email: '邮箱',
    phone: '手机号',
    businessName: '企业名称',
    ownerName: '负责人姓名',
    enterUsername: '请输入用户名',
    enterPassword: '请输入密码',
    enterConfirmPassword: '请确认密码',
    enterEmail: '请输入邮箱地址',
    enterPhone: '请输入手机号',
    enterBusinessName: '请输入企业名称',
    enterOwnerName: '请输入负责人姓名',
    registerButton: '注册',
    hasAccount: '已有账户？',
    loginHere: '点击登录',
    registrationSuccess: '注册成功！',
    registrationFailed: '注册失败',
    passwordsMismatch: '两次输入的密码不一致',
    errorOccurred: '注册时发生错误',
    invalidEmail: '请输入有效的邮箱地址',
    usernameMinLength: '用户名至少需要3个字符',
    passwordMinLength: '密码至少需要6个字符'
  },
  exchange: {
    title: '兑换商品',
    code: '兑换码',
    password: '码密码',
    enterCode: '请输入您的兑换码',
    enterPassword: '请输入此码的密码',
    validateButton: '验证兑换码',
    completeButton: '完成兑换',
    validationSuccess: '兑换码验证成功！',
    validationFailed: '无效的兑换码或密码',
    exchangeSuccess: '兑换成功！',
    exchangeFailed: '兑换失败',
    orderNumber: '您的订单号是：',
    errorOccurred: '验证兑换码时发生错误',
    errorExchange: '完成兑换时发生错误',
    contactSupport: '请联系客服找回密码',
    productDetails: '商品详情',
    productName: '商品名称',
    productDescription: '商品描述',
    productPrice: '价格',
    productCategory: '分类',
    exchangeDate: '兑换日期',
    expirationDate: '过期日期',
    customerName: '客户姓名',
    customerPhone: '客户电话',
    customerEmail: '客户邮箱',
    deliveryType: '配送方式',
    shipToAddress: '配送到地址',
    pickupInStore: '到店自取',
    shippingAddress: '收货地址',
    enterCustomerName: '请输入您的姓名',
    enterCustomerPhone: '请输入您的电话号码',
    enterCustomerEmail: '请输入您的邮箱',
    enterShippingAddress: '请输入您的收货地址',
    enterAnotherCode: '输入另一个兑换码',
    invalidCode: '无效的兑换码',
    invalidPassword: '密码错误',
    invalidCredentials: '凭证无效',
    exchangeCompleted: '兑换已完成',
    codeMinLength: '兑换码至少需要6个字符',
    wholeRemove: '整体移除',
    invalidEmail: '请输入有效的邮箱地址',
    passwordMinLength: '密码至少需要6个字符',
    deliveryInformation: '配送信息'
  },
  merchant: {
    dashboard: '商户仪表盘',
    products: '商品',
    delivery: '配送管理',
    codes: '兑换码',
    orders: '订单',
    welcome: '欢迎，商户',
    totalSales: '总销售额',
    totalOrders: '总订单数',
    pendingOrders: '待处理订单',
    completedOrders: '已完成订单',
    recentOrders: '最近订单',
    thisMonth: '本月',
    activeProducts: '活跃商品',
    orderStatusDistribution: '订单状态分布',
    pending: '待处理',
    processing: '处理中',
    shipped: '已发货',
    delivered: '已送达',
    cancelled: '已取消',
    recentOrders: '最近订单',
    recentOrdersTitle: '最近订单',
    orderNumber: '订单号',
    customer: '客户',
    status: {
      pending: '待处理',
      processing: '处理中',
      shipped: '已发货',
      delivered: '已送达',
      cancelled: '已取消'
    },
    deliveryType: '配送方式',
    date: '日期'
  },
  admin: {
    title: '兑换平台管理',
    dashboard: {
      title: '管理仪表盘',
      merchants: '商户',
      products: '商品',
      exchangeCodes: '兑换码',
      orders: '订单',
      merchantGrowth: '商户增长',
      subscriptionDistribution: '订阅分布',
      recentMerchants: '最近商户',
      recentOrders: '最近订单'
    },
    menu: {
      dashboard: '仪表盘',
      merchants: '商户',
      products: '商品',
      exchangeCodes: '兑换码',
      orders: '订单',
      analytics: '分析',
      settings: '设置'
    },
    profile: '个人信息',
    logout: '退出',
    manageMerchants: '商户管理',
    totalMerchants: '商户总数',
    activeMerchants: '活跃商户',
    inactiveMerchants: '非活跃商户',
    premiumMerchants: '高级商户',
    merchantManagement: '商户管理',
    id: 'ID',
    username: '用户名',
    businessName: '企业名称',
    email: '邮箱',
    subscriptionType: '订阅类型',
    status: {
      active: '激活',
      inactive: '未激活',
      suspended: '暂停'
    },
    subscriptions: {
      premium: '高级版',
      free: '免费版'
    },
    merchant: {
      id: 'ID',
      username: '用户名',
      password: '密码',
      email: '邮箱',
      businessName: '企业名称',
      contactPerson: '联系人',
      address: '地址',
      subscriptionType: '订阅类型',
      status: {
        active: '激活',
        inactive: '未激活',
        suspended: '暂停'
      },
      maxProducts: '最大商品数',
      maxExchangeCodes: '最大兑换码数',
      maxOrdersPerMonth: '每月最大订单数',
      createdAt: '创建时间',
      enterUsername: '请输入用户名',
      enterPassword: '请输入密码',
      enterEmail: '请输入邮箱地址',
      enterBusinessName: '请输入企业名称',
      enterContactPerson: '请输入联系人',
      enterAddress: '请输入地址',
      passwordMinLength: '密码至少需要6个字符',
      invalidEmail: '请输入有效的邮箱地址',
      management: '商户管理',
      addMerchant: '添加商户',
      editMerchant: '编辑商户',
      viewMerchant: '查看商户'
    },
    order: {
      orderNumber: '订单号',
      merchant: '商户',
      status: {
        pending: '待处理',
        confirmed: '已确认',
        processing: '处理中',
        shipped: '已发货',
        delivered: '已送达',
        cancelled: '已取消'
      },
      createdAt: '创建时间'
    },
    products: {
      description: '管理系统中的商品',
      productList: '商品列表',
      addProduct: '添加商品',
      editProduct: '编辑商品',
      viewProduct: '查看商品',
      name: '名称',
      category: '分类',
      status: {
        active: '激活',
        inactive: '未激活'
      },
      id: 'ID',
      price: '价格',
      stockQuantity: '库存数量',
      view: '查看',
      imageUrl: '图片地址',
      categories: {
        electronics: '电子产品',
        clothing: '服装',
        books: '图书',
        home: '家居园艺',
        sports: '运动'
      },
      enterProductName: '请输入商品名称',
      enterPrice: '请输入价格',
      enterStockQuantity: '请输入库存数量',
      selectCategory: '请选择分类',
      selectStatus: '请选择状态',
      errorLoadingProducts: '加载商品时出错',
      errorLoadingProductDetails: '加载商品详情时出错',
      productDeleted: '商品删除成功',
      errorDeletingProduct: '删除商品时出错',
      productUpdated: '商品更新成功',
      productCreated: '商品创建成功',
      errorSavingProduct: '保存商品时出错'
    },
    exchangeCodes: {
      management: '兑换码管理',
      codeList: '兑换码列表',
      addCode: '添加兑换码',
      editCode: '编辑兑换码',
      viewCode: '查看兑换码',
      code: '兑换码',
      codePassword: '兑换码密码',
      productId: '商品ID',
      status: {
        active: '激活',
        inactive: '未激活',
        used: '已使用'
      },
      createdAt: '创建时间',
      expireAt: '过期时间',
      enterCode: '请输入兑换码',
      enterCodePassword: '请输入兑换码密码',
      selectProduct: '请选择商品',
      selectStatus: '请选择状态',
      createSuccess: '兑换码创建成功',
      updateSuccess: '兑换码更新成功',
      deleteSuccess: '兑换码删除成功',
      errorOccurred: '发生错误'
    },
    orders: {
      management: '订单管理',
      orderList: '订单列表',
      orderDetails: '订单详情',
      orderNumber: '订单号',
      customerName: '客户姓名',
      customerEmail: '客户邮箱',
      customerPhone: '客户电话',
      deliveryType: {
        SHIP: '配送',
        PICKUP: '自提'
      },
      status: {
        pending: '待处理',
        processing: '处理中',
        shipped: '已发货',
        delivered: '已送达',
        cancelled: '已取消'
      },
      orderDate: '订单日期',
      totalAmount: '总金额',
      shippingAddress: '收货地址',
      viewDetails: '查看详情',
      updateStatus: '更新状态',
      enterShippingAddress: '请输入收货地址',
      selectNewStatus: '请选择新状态',
      statusUpdated: '状态更新成功',
      errorOccurred: '更新订单时发生错误'
    },
    settings: {
      title: '系统设置',
      general: '常规设置',
      email: '邮箱设置',
      security: '安全设置',
      save: '保存设置',
      savedSuccessfully: '设置保存成功',
      errorOccurred: '保存设置时发生错误',
      siteName: '网站名称',
      siteDescription: '网站描述',
      siteEmail: '网站邮箱',
      enterSiteName: '请输入网站名称',
      enterSiteDescription: '请输入网站描述',
      enterSiteEmail: '请输入网站邮箱地址',
      smtpHost: 'SMTP主机',
      smtpPort: 'SMTP端口',
      smtpUsername: 'SMTP用户名',
      smtpPassword: 'SMTP密码',
      emailFrom: '发件人地址',
      enterSmtpHost: '请输入SMTP主机',
      enterSmtpPort: '请输入SMTP端口',
      enterSmtpUsername: '请输入SMTP用户名',
      enterEmailFrom: '请输入发件人地址',
      passwordPolicy: '密码策略',
      minPasswordLength: '最小密码长度',
      enterMinPasswordLength: '请输入最小密码长度'
    },
    analytics: {
      title: '分析仪表盘',
      totalRevenue: '总收入',
      totalOrders: '总订单数',
      avgOrderValue: '平均订单价值',
      conversionRate: '转化率',
      revenueChart: '收入图表',
      ordersChart: '订单图表',
      userGrowth: '用户增长',
      topProducts: '热销商品',
      topSellingProducts: '热销商品',
      monthlySales: '月销售量',
      dateRange: '日期范围',
      allTime: '全部时间',
      last7Days: '最近7天',
      last30Days: '最近30天',
      lastYear: '去年'
    }
  },
  home: {
    welcome: '欢迎使用兑换平台',
    description: '综合的商品兑换和管理解决方案',
    startExchange: '兑换商品',
    loginAsMerchant: '商户登录',
    registerAsMerchant: '注册成为商户',
    feature1: {
      title: '便捷商品兑换',
      description: '使用唯一编码进行简单安全的商品兑换'
    },
    feature2: {
      title: '商户管理',
      description: '完整的仪表盘用于管理和订单'
    },
    feature3: {
      title: '数据分析与报告',
      description: '洞察和报告助力业务增长'
    }
  },
  footer: {
    copyright: '© 2023 兑换平台。保留所有权利。'
  }
}